package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 课程阶段Entity
 * @author king
 * @version 2015-11-05
 */
public class Courselevel extends DataEntity<Courselevel> {

	private static final long serialVersionUID = 1L;
	
	private String name;// 名称
	private Integer fromyear;// 适合年龄开始年
	private Integer frommonth;// 适合年龄开始月
	private Integer toyear;// 适合年龄结束年
	private Integer tomonth;// 适合年龄结束月
	private String description;// 描述
	private Integer sort;// 排序
	private String state;// 状态
	
	private Center center;
	
	public Courselevel(){
		super();
		sort = 99;
		state = "0";
	}
	
	public Courselevel(String id){
		super(id);
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getFromyear() {
		return fromyear;
	}

	public void setFromyear(Integer fromyear) {
		this.fromyear = fromyear;
	}
	
	public Integer getFrommonth() {
		return frommonth;
	}

	public void setFrommonth(Integer frommonth) {
		this.frommonth = frommonth;
	}
	
	public Integer getToyear() {
		return toyear;
	}

	public void setToyear(Integer toyear) {
		this.toyear = toyear;
	}
	
	public Integer getTomonth() {
		return tomonth;
	}

	public void setTomonth(Integer tomonth) {
		this.tomonth = tomonth;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}
}